 <?php 
include 'dbCredentials.php';
$link = new mysqli($MYSQL_HOST, $MYSQL_USER, $MYSQL_PSWD, $MYSQL_DBAS); 
if (mysqli_connect_errno()) { 
    die('Could not connect: ' . mysqli_connect_error()); 
} 
// echo 'Connected successfully'; 
return $link;
?> 